-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support chDB as a driver #369
base: main
Are you sure you want to change the base?
Conversation
feat: first working implementation of chdb as driver
also tagging @auxten if you have insight on the chDB part |
It looks great. I'm here for any issue or question :) |
chdb-dev: | ||
type: clickhouse | ||
driver: chdb | ||
chdb_state_dir: "chdb_state" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be in dbt target
provided folder
examples/taxis/profiles.yml
Outdated
type: clickhouse | ||
driver: chdb | ||
chdb_state_dir: "chdb_state" | ||
chdb_dump_dir: "dump" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe more granular and able to load single file or glob expression
@ThomAub There are some lint issues to fix, and we also need unit and integration tests. You can "Allow edits from maintainers." |
Hi folks, Thank you for your contribution! Before reviewing your PR, please add the following:
Looking forward to reviewing this! |
…tories fix: Get all .sql files in all subdirectories
Added unit test for chDB dbt materialization Updated changelog with a description of the new feature
feat: Add tests and update changelog
@ThomAub In the chdb v2.2.0b0, the chdb.dbapi is totally refactored. The API and behavior suppose to be not changed.
|
Summary
This is a first proposition for #297. It's currently working for our use case of embedded ClickHouse for unit tests with DBT.
It would be great to have some feedback in the direction of this feature implementation !
We would also be interested in how should we add Unit and integration tests or even a tutorial ?
Checklist
Delete items not relevant to your PR: